package com.ls.thread.ch01.demo01;

public class CalRunnale implements Runnable {

	@SuppressWarnings("static-access")
	@Override
	public void run() {
		for(int index=1;index<=10;index++){
			
			try {
				Thread.currentThread().sleep(100);
			} catch (InterruptedException e) {
				e.printStackTrace();
			}
			System.out.println(Thread.currentThread().getName()+":"+index);
		}
		
	}

}
